package vaani.testvaani;

import java.util.LinkedList;
import java.util.List;
import vaani.internal.purple.BuddyLocator;
import vaani.internal.purple.Result;

/**
 *
 * @author sourcemorph
 */
public class PidginTrial {
/*
    public static void main(String [] args) {
        Vector<Integer> temp = PidginHandler.getConnectedAccounts();
        for(int a : temp) {
            System.out.println(a);
        }
        Buddy b = new Buddy("wcklyaditya@gmail.com", "Aditya Yadav");
        System.out.println(PidginHandler.getBuddy(b));
        BuddyListHandler.readFile();
        Vector<Result> temp2 = BuddyLocator.makeQuery("Aditya");
        for(Result r : temp2) {
            System.out.println(r.getBuddy().getName());
        }
    }
*/

     public static void main(String [] args) {
        /*Vector<String> temp = new Vector<String>();
        temp.add("manveer");
        InstantMessageManager ima = new InstantMessageManager(temp);
        ima.runProcess();*/
        List<String> temp = new LinkedList<String>();
        temp.add("Nihar");
        List<Result> r = new BuddyLocator(temp).getResults();
        for(Result i : r) {
            System.out.println(i.getBuddy().getName());
        }
    }
}
